package com.glory.wxelectricitypda.bean;

import java.util.ArrayList;

public class EqpEntoty {
    private String EqpId;
    private String EqpType;
    private ArrayList<String> List;
    private EqpPositionsetBean XPOSITIONSET;
    private MTbean XMLot;

    private  XTbean XTool;
    private MKittingBean MKitting;
    private int Value;

    public XTbean getXTool() {
        return XTool;
    }

    public void setXTool(XTbean XTool) {
        this.XTool = XTool;
    }

    public int getValue() {
        return Value;
    }

    public void setValue(int value) {
        Value = value;
    }

    public MKittingBean getMKitting() {
        return MKitting;
    }

    public void setMKitting(MKittingBean MKitting) {
        this.MKitting = MKitting;
    }

    public MTbean getXMLot() {
        return XMLot;
    }

    public void setXMLot(MTbean XMLot) {
        this.XMLot = XMLot;
    }

    public EqpPositionsetBean getXPOSITIONSET() {
        return XPOSITIONSET;
    }

    public void setXPOSITIONSET(EqpPositionsetBean XPOSITIONSET) {
        this.XPOSITIONSET = XPOSITIONSET;
    }

    public ArrayList<String> getList() {
        if (List == null) {
            return new ArrayList<>();
        }
        return List;
    }

    public void setList(ArrayList<String> list) {
        List = list;
    }

    public String getEqpId() {
        return EqpId == null ? "" : EqpId;
    }

    public void setEqpId(String eqpId) {
        EqpId = eqpId;
    }

    public String getEqpType() {
        return EqpType == null ? "" : EqpType;
    }

    public void setEqpType(String eqpType) {
        EqpType = eqpType;
    }

    public class EqpPositionsetBean {
        private ArrayList<positionsetlineBean> POSITIONSETLINES;

        public ArrayList<positionsetlineBean> getPOSITIONSETLINES() {
            if (POSITIONSETLINES == null) {
                return new ArrayList<>();
            }
            return POSITIONSETLINES;
        }

        public void setPOSITIONSETLINES(ArrayList<positionsetlineBean> POSITIONSETLINES) {
            this.POSITIONSETLINES = POSITIONSETLINES;
        }
    }

    public class positionsetlineBean {
        private String POSITIONNAME;
        private String POSITIONDESC;

        public String getPOSITIONNAME() {
            return POSITIONNAME == null ? "" : POSITIONNAME;
        }

        public void setPOSITIONNAME(String POSITIONNAME) {
            this.POSITIONNAME = POSITIONNAME;
        }

        public String getPOSITIONDESC() {
            return POSITIONDESC == null ? "" : POSITIONDESC;
        }

        public void setPOSITIONDESC(String POSITIONDESC) {
            this.POSITIONDESC = POSITIONDESC;
        }
    }

    public class MTbean {
        private String XMLot;
        private String MAINQTY;
        private String MATERIALNAME;
        private String MATERIALTYPE;
        private String USEQTY;
        private String ISTIMESENSITIVE;

        public String getXMLot() {
            return XMLot == null ? "" : XMLot;
        }

        public void setXMLot(String XMLot) {
            this.XMLot = XMLot;
        }

        public String getMAINQTY() {
            return MAINQTY == null ? "" : MAINQTY;
        }

        public void setMAINQTY(String MAINQTY) {
            this.MAINQTY = MAINQTY;
        }

        public String getMATERIALNAME() {
            return MATERIALNAME == null ? "" : MATERIALNAME;
        }

        public void setMATERIALNAME(String MATERIALNAME) {
            this.MATERIALNAME = MATERIALNAME;
        }

        public String getMATERIALTYPE() {
            return MATERIALTYPE == null ? "" : MATERIALTYPE;
        }

        public void setMATERIALTYPE(String MATERIALTYPE) {
            this.MATERIALTYPE = MATERIALTYPE;
        }

        public String getUSEQTY() {
            return USEQTY == null ? "" : USEQTY;
        }

        public void setUSEQTY(String USEQTY) {
            this.USEQTY = USEQTY;
        }

        public String getISTIMESENSITIVE() {
            return ISTIMESENSITIVE == null ? "" : ISTIMESENSITIVE;
        }

        public void setISTIMESENSITIVE(String ISTIMESENSITIVE) {
            this.ISTIMESENSITIVE = ISTIMESENSITIVE;
        }
    }

    public class XTbean{

        private String XTool;

        private UDFbean UDF;
        private int OBJECTRRN;
        private int MAINQTY;
        private int SUBQTY;
        private String STATE;
        private String HOLDSTATE;
        private int MATERIALRRN;
        private String MATERIALNAME;
        private int MATERIALVERSION;
        private String MATERIALDESC;
        private String MATERIALTYPE;
        private String MLOTID;
        private String CLEANSTATE;
        private String SHELFLIFEEXPIRE;


        public String getXTool() {
            return XTool == null ? "" : XTool;
        }

        public void setXTool(String XTool) {
            this.XTool = XTool;
        }

        public UDFbean getUDF() {
            return UDF;
        }

        public void setUDF(UDFbean UDF) {
            this.UDF = UDF;
        }

        public int getOBJECTRRN() {
            return OBJECTRRN;
        }

        public void setOBJECTRRN(int OBJECTRRN) {
            this.OBJECTRRN = OBJECTRRN;
        }

        public int getMAINQTY() {
            return MAINQTY;
        }

        public void setMAINQTY(int MAINQTY) {
            this.MAINQTY = MAINQTY;
        }

        public int getSUBQTY() {
            return SUBQTY;
        }

        public void setSUBQTY(int SUBQTY) {
            this.SUBQTY = SUBQTY;
        }

        public String getSTATE() {
            return STATE == null ? "" : STATE;
        }

        public void setSTATE(String STATE) {
            this.STATE = STATE;
        }

        public String getHOLDSTATE() {
            return HOLDSTATE == null ? "" : HOLDSTATE;
        }

        public void setHOLDSTATE(String HOLDSTATE) {
            this.HOLDSTATE = HOLDSTATE;
        }

        public int getMATERIALRRN() {
            return MATERIALRRN;
        }

        public void setMATERIALRRN(int MATERIALRRN) {
            this.MATERIALRRN = MATERIALRRN;
        }

        public String getMATERIALNAME() {
            return MATERIALNAME == null ? "" : MATERIALNAME;
        }

        public void setMATERIALNAME(String MATERIALNAME) {
            this.MATERIALNAME = MATERIALNAME;
        }

        public int getMATERIALVERSION() {
            return MATERIALVERSION;
        }

        public void setMATERIALVERSION(int MATERIALVERSION) {
            this.MATERIALVERSION = MATERIALVERSION;
        }

        public String getMATERIALDESC() {
            return MATERIALDESC == null ? "" : MATERIALDESC;
        }

        public void setMATERIALDESC(String MATERIALDESC) {
            this.MATERIALDESC = MATERIALDESC;
        }

        public String getMATERIALTYPE() {
            return MATERIALTYPE == null ? "" : MATERIALTYPE;
        }

        public void setMATERIALTYPE(String MATERIALTYPE) {
            this.MATERIALTYPE = MATERIALTYPE;
        }

        public String getMLOTID() {
            return MLOTID == null ? "" : MLOTID;
        }

        public void setMLOTID(String MLOTID) {
            this.MLOTID = MLOTID;
        }

        public String getCLEANSTATE() {
            return CLEANSTATE == null ? "" : CLEANSTATE;
        }

        public void setCLEANSTATE(String CLEANSTATE) {
            this.CLEANSTATE = CLEANSTATE;
        }

        public String getSHELFLIFEEXPIRE() {
            return SHELFLIFEEXPIRE == null ? "" : SHELFLIFEEXPIRE;
        }

        public void setSHELFLIFEEXPIRE(String SHELFLIFEEXPIRE) {
            this.SHELFLIFEEXPIRE = SHELFLIFEEXPIRE;
        }

        public class UDFbean{

            private String SCRAPRECEIVED;
            private String MAID;

            public String getSCRAPRECEIVED() {
                return SCRAPRECEIVED == null ? "" : SCRAPRECEIVED;
            }

            public void setSCRAPRECEIVED(String SCRAPRECEIVED) {
                this.SCRAPRECEIVED = SCRAPRECEIVED;
            }

            public String getMAID() {
                return MAID == null ? "" : MAID;
            }

            public void setMAID(String MAID) {
                this.MAID = MAID;
            }
        }



    }

    public class MKittingBean {
        private ArrayList<MaterierlBean> MLOTLIST;

        private ArrayList<FixtureBean> TOOLLIST;

        public ArrayList<MaterierlBean> getMLOTLIST() {
            if (MLOTLIST == null) {
                return new ArrayList<>();
            }
            return MLOTLIST;
        }

        public void setMLOTLIST(ArrayList<MaterierlBean> MLOTLIST) {
            this.MLOTLIST = MLOTLIST;
        }


        public ArrayList<FixtureBean> getTOOLLIST() {
            if (TOOLLIST == null) {
                return new ArrayList<>();
            }
            return TOOLLIST;
        }

        public void setTOOLLIST(ArrayList<FixtureBean> TOOLLIST) {
            this.TOOLLIST = TOOLLIST;
        }
    }

    public static class MaterierlBean {
        private String MLOTID;
        private String mLotId;
        private String SUBMATTYPE;
        private String subMatType;
        private String MATERIALDESC;
        private String POSITION;
        private String SUBQTY;
        private String MAINQTY;
        private String mainQty;
        private String HOLDSTATE;
        private String MATERIALRRN;
        private String MATERIALNAME;
        private String MATERIALVERSION;
        private String MATERIALTYPE;
        private String PARTNERORDER;
        private String PARTNERLOTID;
        private String USEQTY;
        private String ISTIMESENSITIVE;
        private String CREATED;
        private String UOMID;
        private String RESERVED2;
        private String RESERVED3;
        private String BATCHTYPE;
        private String attribute1;

        public String getAttribute1() {
            return attribute1 == null ? "" : attribute1;
        }

        public void setAttribute1(String attribute1) {
            this.attribute1 = attribute1;
        }

        public String getmLotId() {
            return mLotId == null ? "" : mLotId;
        }

        public void setmLotId(String mLotId) {
            this.mLotId = mLotId;
        }

        public String getSubMatType() {
            return subMatType == null ? "" : subMatType;
        }

        public void setSubMatType(String subMatType) {
            this.subMatType = subMatType;
        }

        public String getMainQty() {
            return mainQty == null ? "" : mainQty;
        }

        public void setMainQty(String mainQty) {
            this.mainQty = mainQty;
        }

        public String getSUBQTY() {
            return SUBQTY == null ? "" : SUBQTY;
        }

        public void setSUBQTY(String SUBQTY) {
            this.SUBQTY = SUBQTY;
        }

        public String getMAINQTY() {
            return MAINQTY == null ? "" : MAINQTY;
        }

        public void setMAINQTY(String MAINQTY) {
            this.MAINQTY = MAINQTY;
        }

        public String getHOLDSTATE() {
            return HOLDSTATE == null ? "" : HOLDSTATE;
        }

        public void setHOLDSTATE(String HOLDSTATE) {
            this.HOLDSTATE = HOLDSTATE;
        }

        public String getMATERIALRRN() {
            return MATERIALRRN == null ? "" : MATERIALRRN;
        }

        public void setMATERIALRRN(String MATERIALRRN) {
            this.MATERIALRRN = MATERIALRRN;
        }

        public String getMATERIALNAME() {
            return MATERIALNAME == null ? "" : MATERIALNAME;
        }

        public void setMATERIALNAME(String MATERIALNAME) {
            this.MATERIALNAME = MATERIALNAME;
        }

        public String getMATERIALVERSION() {
            return MATERIALVERSION == null ? "" : MATERIALVERSION;
        }

        public void setMATERIALVERSION(String MATERIALVERSION) {
            this.MATERIALVERSION = MATERIALVERSION;
        }

        public String getMATERIALTYPE() {
            return MATERIALTYPE == null ? "" : MATERIALTYPE;
        }

        public void setMATERIALTYPE(String MATERIALTYPE) {
            this.MATERIALTYPE = MATERIALTYPE;
        }

        public String getPARTNERORDER() {
            return PARTNERORDER == null ? "" : PARTNERORDER;
        }

        public void setPARTNERORDER(String PARTNERORDER) {
            this.PARTNERORDER = PARTNERORDER;
        }

        public String getPARTNERLOTID() {
            return PARTNERLOTID == null ? "" : PARTNERLOTID;
        }

        public void setPARTNERLOTID(String PARTNERLOTID) {
            this.PARTNERLOTID = PARTNERLOTID;
        }

        public String getUSEQTY() {
            return USEQTY == null ? "" : USEQTY;
        }

        public void setUSEQTY(String USEQTY) {
            this.USEQTY = USEQTY;
        }

        public String getISTIMESENSITIVE() {
            return ISTIMESENSITIVE == null ? "" : ISTIMESENSITIVE;
        }

        public void setISTIMESENSITIVE(String ISTIMESENSITIVE) {
            this.ISTIMESENSITIVE = ISTIMESENSITIVE;
        }

        public String getCREATED() {
            return CREATED == null ? "" : CREATED;
        }

        public void setCREATED(String CREATED) {
            this.CREATED = CREATED;
        }

        public String getUOMID() {
            return UOMID == null ? "" : UOMID;
        }

        public void setUOMID(String UOMID) {
            this.UOMID = UOMID;
        }

        public String getRESERVED2() {
            return RESERVED2 == null ? "" : RESERVED2;
        }

        public void setRESERVED2(String RESERVED2) {
            this.RESERVED2 = RESERVED2;
        }

        public String getRESERVED3() {
            return RESERVED3 == null ? "" : RESERVED3;
        }

        public void setRESERVED3(String RESERVED3) {
            this.RESERVED3 = RESERVED3;
        }

        public String getBATCHTYPE() {
            return BATCHTYPE == null ? "" : BATCHTYPE;
        }

        public void setBATCHTYPE(String BATCHTYPE) {
            this.BATCHTYPE = BATCHTYPE;
        }

        public String getMLOTID() {
            return MLOTID == null ? "" : MLOTID;
        }

        public void setMLOTID(String MLOTID) {
            this.MLOTID = MLOTID;
        }

        public String getSUBMATTYPE() {
            return SUBMATTYPE == null ? "" : SUBMATTYPE;
        }

        public void setSUBMATTYPE(String SUBMATTYPE) {
            this.SUBMATTYPE = SUBMATTYPE;
        }

        public String getMATERIALDESC() {
            return MATERIALDESC == null ? "" : MATERIALDESC;
        }

        public void setMATERIALDESC(String MATERIALDESC) {
            this.MATERIALDESC = MATERIALDESC;
        }

        public String getPOSITION() {
            return POSITION == null ? "" : POSITION;
        }

        public void setPOSITION(String POSITION) {
            this.POSITION = POSITION;
        }
    }

    public static class FixtureBean{

        private String XTool;

        private XTbean.UDFbean UDF;
        private int OBJECTRRN;
        private Double MAINQTY;
        private int SUBQTY;
        private String STATE;
        private String HOLDSTATE;
        private int MATERIALRRN;
        private String MATERIALNAME;
        private int MATERIALVERSION;
        private String MATERIALDESC;
        private String MATERIALTYPE;
        private String MLOTID;
        private String CLEANSTATE;
        private String SHELFLIFEEXPIRE;
        private String POSITION;


        public String getPOSITION() {
            return POSITION == null ? "" : POSITION;
        }

        public void setPOSITION(String POSITION) {
            this.POSITION = POSITION;
        }

        public String getXTool() {
            return XTool == null ? "" : XTool;
        }

        public void setXTool(String XTool) {
            this.XTool = XTool;
        }

        public XTbean.UDFbean getUDF() {
            return UDF;
        }

        public void setUDF(XTbean.UDFbean UDF) {
            this.UDF = UDF;
        }

        public int getOBJECTRRN() {
            return OBJECTRRN;
        }

        public void setOBJECTRRN(int OBJECTRRN) {
            this.OBJECTRRN = OBJECTRRN;
        }

        public Double getMAINQTY() {
            return MAINQTY;
        }

        public void setMAINQTY(Double MAINQTY) {
            this.MAINQTY = MAINQTY;
        }

        public int getSUBQTY() {
            return SUBQTY;
        }

        public void setSUBQTY(int SUBQTY) {
            this.SUBQTY = SUBQTY;
        }

        public String getSTATE() {
            return STATE == null ? "" : STATE;
        }

        public void setSTATE(String STATE) {
            this.STATE = STATE;
        }

        public String getHOLDSTATE() {
            return HOLDSTATE == null ? "" : HOLDSTATE;
        }

        public void setHOLDSTATE(String HOLDSTATE) {
            this.HOLDSTATE = HOLDSTATE;
        }

        public int getMATERIALRRN() {
            return MATERIALRRN;
        }

        public void setMATERIALRRN(int MATERIALRRN) {
            this.MATERIALRRN = MATERIALRRN;
        }

        public String getMATERIALNAME() {
            return MATERIALNAME == null ? "" : MATERIALNAME;
        }

        public void setMATERIALNAME(String MATERIALNAME) {
            this.MATERIALNAME = MATERIALNAME;
        }

        public int getMATERIALVERSION() {
            return MATERIALVERSION;
        }

        public void setMATERIALVERSION(int MATERIALVERSION) {
            this.MATERIALVERSION = MATERIALVERSION;
        }

        public String getMATERIALDESC() {
            return MATERIALDESC == null ? "" : MATERIALDESC;
        }

        public void setMATERIALDESC(String MATERIALDESC) {
            this.MATERIALDESC = MATERIALDESC;
        }

        public String getMATERIALTYPE() {
            return MATERIALTYPE == null ? "" : MATERIALTYPE;
        }

        public void setMATERIALTYPE(String MATERIALTYPE) {
            this.MATERIALTYPE = MATERIALTYPE;
        }

        public String getMLOTID() {
            return MLOTID == null ? "" : MLOTID;
        }

        public void setMLOTID(String MLOTID) {
            this.MLOTID = MLOTID;
        }

        public String getCLEANSTATE() {
            return CLEANSTATE == null ? "" : CLEANSTATE;
        }

        public void setCLEANSTATE(String CLEANSTATE) {
            this.CLEANSTATE = CLEANSTATE;
        }

        public String getSHELFLIFEEXPIRE() {
            return SHELFLIFEEXPIRE == null ? "" : SHELFLIFEEXPIRE;
        }

        public void setSHELFLIFEEXPIRE(String SHELFLIFEEXPIRE) {
            this.SHELFLIFEEXPIRE = SHELFLIFEEXPIRE;
        }

        public class UDFbean{

            private String SCRAPRECEIVED;
            private String MAID;

            public String getSCRAPRECEIVED() {
                return SCRAPRECEIVED == null ? "" : SCRAPRECEIVED;
            }

            public void setSCRAPRECEIVED(String SCRAPRECEIVED) {
                this.SCRAPRECEIVED = SCRAPRECEIVED;
            }

            public String getMAID() {
                return MAID == null ? "" : MAID;
            }

            public void setMAID(String MAID) {
                this.MAID = MAID;
            }
        }
    }
}
